Added initial awakeness logic.