Fix syntax errors in scala document.