Add callback interface for setting keys to device implementations, fix bazillion related interfaces, keep example composition broken.