Rename function to hooks()