merge interface declarations