Adding JavaDoc to methods in the Base class.

Adding JavaDocs to all methods in the Base class.