Add a very simple hg class