Removing unneccesary dependencies