Added enfore-gate-type option to make sure people can't change the items
stored in gates.