The functions are mutated to static methods to enable composer autoload