Bugfix on inherit private magic methods