Fixes non-null default value for class (string) type hinting