a) Defining a type for the application, since it was ???? to begin with (and a lot of things in AppKit and related can't handle that)