Add database companion methods.