What did race refer to instead of heredity