Allow for non-websockets usage.