generators: Use dot syntax