Communication library fixes + pretty enum macro