Add function to remove a gem that is compatible with the old grid-based system