Added initial db interfaces.