Add hooks for following symlinks