Now supports nested chains