[soy mode] Support delegates