Make it easier to create a gateway for a different context