Initial work on sleep handling.