Added support for generating repeated field method declarations.