Refactored Text to subclass str