Remove a method.