support setting defaults in schema