Implement insert dependencies with excludes