Added getBoundingBox method.