Add several methods to ElmtTree API