Eliminate E_STRICT warnings under PHP >=5.4 by removing the object-oriented way of calling the functions, and changing all the functions to static.