Removing unneccesary modules