External api fix for a previous patch in bug 103870. r=neil