Move interfaces to the same file.