Clearer error message when tfluct is not set.