Import of legacy code.