Adding NSdefault_hooks