Added clearer error message.