`$elementSpec` is not retrieved byref as far as I know