PHP 5.4 more strict standards errors

Just added "static" before some more functions.