Added Magic class to Core