Update magic methods with class handling using meta-class