Fixed typo with class error message.