[BUGFIX] Exclude class alias breaks generation