Create robot.SleepRobot interface and implement it with sleep().