Support array and object types
Add a default limit setting