Minor, but in
admin/source/classes/customfields/profileFields.php
Line 169 (ish)
private $DB;
would be better if the scope was changed to protected.
For now, happy to get around in my hook via $localvar = ipsRegistry::DB(); just thought it would make a sensible change.
Thanks!