Cleaned up NHibernate provider