Add ClassifyFields function

Currently just rubbish. Added now to write the documentation while I
remember…