Remove useless dependencies