Last minute fixes before sleep.