Added `HasRectangle` and `CanRectangle` traits