Add basic formatter for non-displayable codes.

Will be improved later.