added missing pin state class.