Adding initial infrastructure for curvilinear geometry.