Use static::$name instead of self::$name