Controller cleanup.