Change property to method for generators