Cleaning unwanted methods