Added window property to calm Xcode 5