Support various major-modes