fix #5680: get method needs to be named like the attribute