Add javadoc for service