Remove unnecessary dependences