Inherit from generators.Base

Instead of NamedBased which will soon raise an error if no argument is provided.