Added functionlity to render template from pool with extra schema checks