Leverage Errai's code generation API