Removes unused methods