Use databaseId instead of context.