Add @avp's groot function and clean up some aliases.