Added state start method with state type.