Removing libraries that are no longer required.