resolve method call on prototype not object instance