Implemented Text class.