Fix stuff for imposing various symmetries