Add foreign libraries registration
Register all foreign libraries
Adjust expansions based on debug-foreign?
Fix problem in git.foreign
c1
c2
c3
c4
c5
c6
c7
c8