Exposed get_devices().
Reverted last change: get_devices() is no longer exposed in backends.