Add documentation header to custom hook