diff --git a/source/MongoDB/Configuration/Mapping/AutoMappingStore.cs b/source/MongoDB/Configuration/Mapping/AutoMappingStore.cs
index b48cbefa..cb80750d 100644
--- a/source/MongoDB/Configuration/Mapping/AutoMappingStore.cs
+++ b/source/MongoDB/Configuration/Mapping/AutoMappingStore.cs
@@ -17,7 +17,7 @@ public class AutoMappingStore : IMappingStore
/// Initializes a new instance of the class.
///
public AutoMappingStore()
- : this((IAutoMapper)null, null)
+ : this(new AutoMapper())
{
}
@@ -58,8 +58,6 @@ public AutoMappingStore(IAutoMapper autoMapper, IMappingStore mappingStore)
{
if(autoMapper == null)
throw new ArgumentNullException("autoMapper");
- if(mappingStore == null)
- throw new ArgumentNullException("mappingStore");
_autoMapper = autoMapper;
_autoMaps = new Dictionary();