Fail early when parameterising with unhashable