pretty_type in messgex