Added magit mode.