[BUGFIX] class_alias in the bootstrap for legacy base classes