Fixed problem with the unnecessary $this in the static function