Improved AbstractDependencyProvider.
Added DependencyComparator
Removed some imports.
Removed Unchecked casts