Remove useless declarations