Add guard doc to output as well as filter