Added device state directory.