Fix legacy import.