Cleanup - make ready for apps.