added support for deprecated types byte and char