Added misc support functions
Merge branch 'master' of https://github.com/learn-bot/learnbot-core