beam2/unix: remove flags from the API for simplicity. This is temporary, they will be back.