Implemented extension functions for bounding boxes.