Fixed Compound.Set and added Compound.Remove