Core inherits from collection, getting db only in cb