Use autocommand groups.