Replaced arrays with proper emun for fields.