Add type checking to DynamicObject#validate
Update README.md
DynamicObjects#wrap: Check that :type metadata matches the given type