Define 'load' function as static method on path.