Added generateProto for OCPs