propose new object API for devices