remove some methods.