Updated callback mechanism to allow _callStatic magic methods