Removed pointer usage. Deprecated isIdle().