Some useful extensions to NHibernate.