Detect array parameters and set data-allow-multiple attribute on form input.
Add meta-data for required authentication and roles.