Hack to fix database access for now.