Javadoc tweaks, and improved handling of the ReferenceRequest callback
in the Service.