Added option to ignore references when auto mapping.