warn against passing custom types as document parameter in collection operations
Merge branch 'master' into small_disk