Added check to avoid making mistakes (NetworkMessageTypes with same
codes)