libdb: add support for instrument classes