added ability to add annotations in generated code