public DroolsSmooksStatefulSession(
      StatefulSession session, Smooks smooks, DroolsSmooksConfiguration configuration) {
    this.smooks = smooks;
    this.configuration = configuration;
    this.session = session;

    if (this.configuration.getIterableGetter() != null) {
      final ParserContext parserContext = new ParserContext();
      parserContext.setStrictTypeEnforcement(false);

      ExpressionCompiler compiler = new ExpressionCompiler(this.configuration.getIterableGetter());
      this.getterExpr = compiler.compile(parserContext);
    }
  }