Added support for mapping interfaces. Issue #110.