Added NHibernate support