Use `class` instead of `class:` for typed classes