Refactored Parity to separate enum class.