Moved GeneratedCertificates.MODES back inside model.

LMS-6631