Removal of libraries which are not needed for the example.