Revert "Add unit.get_race method for forward compatibility."

This reverts commit 88cf3578e620a331eb1692cef7293972009d71ba.