Gateways and profiles