Set the type for defaults