Fix bug in SleepForClass: Forgot self to call member function.