[Bug #6979] API renamed and a new refresh function added to solve problems with aliases.