Global - Resolve a bunch of referenced variable / non-static method warnings from PHP5.4