Wrap fields in code