Added support to default values, beforeRender() and mPdf variables access