allowed passing handler in config to specify custom functionality, other than, or in addition to, removal.