Implement simple dependency resolution