Split up fields and errors into submodules.