keep only hook reference in api reference