Removes useless method.