Added keyboard hide hooks.