Remove a method that is not used anymore