Updates to core classes
Merge branch 'master' of git://github.com/scalephp/kernel