Enhancements to the Rect API.