Improved hooks for ctags