First pass at auto sourcing support.