Added initial database support.