This is unnecessary, take a look at the command interface in interfaces.py
https://github.com/LearnProgramming/hamper/blob/master/hamper/interfaces.py#L101