Mark validate and toRawScala as final override. ObjectM factory uses Ai
to create.