GeneratorPolicy should have constant instead of literal.