Added a Rect type, the first of many geometric structures to come.