First draft of Maki's database hooks.