Minor - white space, format code, adding docs.