Add output class for rendering output by option.