Added errorList / errorMap properties and valid / size / hideErrors functions with associated tests