Remove useless method.
Refactoring.