Porting the whole thing to MEF.