[misc] Added some javadoc