This can be autodetected, so there's no need for a magic number

Magic numbers are bad anyways, enums is where it's at.