Fixed stupid delegation to database.