Add javadoc to profile.