Addeded method for exporting interfaces.