Add ability to redact a gateway

Closes #11.