Didn't I see this same code just above in NSWindow? Please, no duplication.