Fix inheritance on release