`klass` with no args just returns a function that can be used as an anonymous class.  I think we might want to remove model support in a future change.