Add documentation for clearDefaults method.