Added Javadoc and replaced tab indents with 4 spaces - Keith's suggestion