s4-ldb: convert the rest of the ldb modules to the new style