Fix generation of getter name.