allow locations to be overridden when referring to a type