ModelStateError needs to be public