Added ability to extend the QB instance