Added support for coloured output.