Some more flag support.  This is feeling a bit hinky to try and pre-test this stuff instead of having a db do it.  Exception as flow control to work around newInstance only returning new instance.