remove unwanted method.