Fix download locations again again.
Added definition of type/1 to trap illegal non-directive use.