Add documentation on how to develop service hooks and extract the authentication and domain variables into public properties.