Only default to all types if types is not given.