Made platform bitflags into a typedef for a tiny bit more clarity