Added a couple of comments giving details of the InvalidOperationException messages