Add a dependencies hook for plugin dependency management
Merge branch 'dependencies_hook'