Create stubs with magic methods only if no parent is defined.