Removing unrequired dependancies