This static method can be called according to various templated object through prettyPrint<Object>::run