Added processing for aifs.