[core] Adds generator interfaces.