Added Rect.create function