Fix derived-mode-class error