Added a autoRender option. Added render method.