Reinstalled NHibernate and removed unused references to Castle