Add mock subgenerator.