better handling for instance methods