Converted TextOutput methods to static methods