Make sure original classname is inherited