Fixed MEF exception.