Removing parity method and converting to function as it does not
reference any local variables in HornbyXpressnet class.