Still debugging database classes.