Add support for bounding rectangle