Provide better error message to user for #171.