Make setting a gateway recurse.

Setting a gateway on an object now automtically sets that gateway on
included objects.