Added typedefs for StateType changed to std::placeholders form std::tr1::placeholders