Fix #193.

This change breaks support added in #135. This is a temporary fix for
regression with NHibernate use. Glen Parker is working on a permanent fix.