Refactored PrettyPrinter & introduced a new common abstraction layer for classMembers.