Restructured for a gem.