Move modes out of monitor

static functions do not contain the `ws_` prefix!