Only check `PREFIX` if function name is a `Link`.

I thought to make `Expression`s hashable at first, but then decided it was not a bright idea.