Replacing "addRules" call with routes.yml file.
added missing (new) parameter to "fieldLabels()" — prevents PHP strict warnings.