HM/TJ: Return errors.
HM/TJ: implemented fieldnames.