Fixing bug where by fields were deemed methods when using the syntax: modifier(type)