Added xml doc generation.