Environmental Design with the Device API