remove method from classe.