Fixed compilation error with type parameters resolution of <R>Relational in ScriptGeneratorContext