Add WindowPlacement functions.