Remove unnecessary library registrations