Dont show :: if method is not in class