Bugfixes to field to work with classmethods