Exnode encoding and basic dispatch