There's no point referring to a class in a private module - it doesn't show up in the built documentation. And the idea was to try to keep the LinearInterpolator class an implementation detail anyway. This should either refer to a new abstract class or just state that it returns a callable with the interface: callable(sample_points, collapse_scalar=True).