Removing unused declaration of static method