Move service interfaces to their headers.