Legacy code fix for botzilla.