Don't replace this object, just add to it:

```javascript
BoundingBox.prototype.applyStyles = ...;
BoundingBox.prototype.formatStyle = ...;
```