Added legacy support for old Metafid code