Add compatibility for Sublime Text 3