prevent spec errors on generated extensions