Fixed whitespace, added XML docs