change some method behaviors.