Add interface files.
Use min_depth if depth is too small.