Set hooks for interfaces.