Remove unnecessary raise-window and the not needed any more null-size-* functions.