Removing non-essential libraries.