Mark static functions as static

Prevents PHP Strict warnings when calling non-static methods statically.

Fixes #11