Remove the state dispatch tables and just use code pointers.