Add init for window structures.