Rename function.
Require ert-async to avoid compiler warnings.
Add support for truncate output tag inheritance.