Updated quite a few API files to include proper JavaDocs.