Gemify. Adapt for 1.9.