Using alternative method to activate yasnippet modes in emacs configuration.