removed ref to nhibernate