Removing left over dependency references.