Combine interfaces and move to one file.