Added displayText method for dewey class and prefix.