Classes for Simple and 2d Automata