Added repeat options for custom types on message fields
Added repition to bnf output