Documenting service hooks