NHibernate reference fixed.