Remove useless method declaration