fixed bug where we were looking at the model class methods rather than the instance methods