Add support for hooks for default commands