Fixed inproper use of static::