Added ability to get dependencies and targets