Added some javadoc, and made evil yellow errors vanish