In mimic.py wrap functions in new class Mimic.