Fix build warnings. Also, removed doc.xml files for debug.