Model.getfields decorated with classmethod