Add support for NHibernate