Added partial compatibility to 2.x devices. Refer issue #45