Session and transaction management for NHibernate.