Extended support for input arrays
Revert "Extended support for input arrays"

This reverts commit 6d1657b14f5f3c21e6078fa49631e682d2068419.
Revert "Revert "Extended support for input arrays""

This reverts commit c57981a5fb93e424b03490d0aea78d9be0a7dcef.