Check dependencies.