Small fix in core class.
Merge branch 'master' of https://github.com/Kajna/K