add instance-* functions, better AST nodes for method calls