fix(class fields): handle untyped fields