Update interfaces.py

Support attributes