Implement desired state in the new processKeyState() and some checks up to before policyApproval().