With better error messages for failed composition