adds activation setter to Gate.