Cleaning up backend.