extended proto terminals can be stored by non-const-ref; unref(), arg() and friends respect constness