remove unwanted methods