Allow types to define a defaultValues method.
Fixing code style.