Add xml doc generation. Make it compile.