Set default type if undefined for Type mixin.