Added Mercurial support, and expand region.