added a defensive programming check for public ctors.  Closes GH-97