Add support for object output.