Added temporary code to make old files compatible.