Added functions to Ent.