Added support for spectating.