Added support for loopback device