Removing unrequired dependencies