Turned into a static method, doesn't use class attributes. Also reduced line length to <80.