Fix for handing of instance methods

… where class have classmethod with same name