remove declaration of unused method