Add some javadoc documentation