Removed unneeded second param from decorate_type