remove methods which doesn't need any longer.