Refactored State enum to 0xnn syntax.