simplify directmap for protocol commands