add @Role annotation on classes generated from type declarations