Added templated output format.