Build metadata from class metadata in NHibernate Session Factory