Renamed Unit::GetType() to Unit::GetUnitType() to avoid naming conflicts with derived class methods.