refs #71: use a kwarg to lookup gateways module