Added some basic JavaDocs.