Minor - Adding doc blocks, format code.