Made `redacted` compatible with components

See [component](https://github.com/component/component) for
more information.