I'm in the process of adding serious documentation to the whole codebase, for use with Doxygen, and I've been working on the db_fields.php file for a while. Did another hour today. It's a grim slog, but necessary. There are 13 classes and 81 functions to document in this file alone...