Implement resolving dependencies