Refactor syntax unicode object and stack methods