Strict Standards error correction

get_instance is called statically, so make sure it is defined as a static function.

closes #3