Removed custom Rect class