Char support

A litle hacky. Primitive type CHAR mustn't be placed last, should be fixable by adjusting two parameters.