Fix strict standards: calling non-static method statically