Enhanced Repeat annotation now supports class level declarations (maintenance 3.x)

Enhanced Repeat annotation now supports class level declarations  (maintenance 3.x)