Utility methods for Mercurial extensions
