Update interface.py

Cleans things up a little bit...