Remove useless method
Add missing dependencies