Fix an outdated function in common.nut.