Replaced the default_values method with db attr.