I assume this is meant to be `cleanDoc`?