Master cleanup.