Swift: declare shellWindow as NSObject since it is defined through KVC