Remove invalid method call