Allow overriding what metadata key to search for.