Flatten all array types, including arguments
Add readme