We can't use weakify here since AppKit doesn't support weak references for all objects :( This needs to be unsafeify.