Adding a few mutators
added @since phpdoc for hasDependencies
Merge branch '3.8'