Replaced array size specification with SIZEOF macro.
Corrected character output error.
Restatement of existing logic.
Refactor class octype methods and remove non-standard methods.