hetero: document use of fieldslib in code