Added ability to render a specific class automatically