Temporary mock DB implementation.