Tidying up DocGen output.