Removing useless dependencies