removing unwanted method calls