Bugfix for custom-named methods and fields

I wrote bad. I fix bad.