Add missing optional in otheragencycode/localtype