add protocol and device support.