Changed Rect to Rectangle to match the new specs.