Implemented prototype mock generator.