Clean up gems as well.