Cleaning up gems.