Add support for calling instance methods.