Framework cleanup