Merge "Move minadb over to new API."