Handle toRender parameter in the correct way.
Merge pull request #100 from macrauder/master

Handle toRender parameter in the correct way.