Support protocol sequence queue. (untested)
Rewrite modules.