Grouped setphase methods together
Fixed type union to Union