Fix typos in interface.py