Add required dependencies validation check.
Fix service dependency cycle detection.