Merge "Add ability to have a callback when wakeups happen."