Only inject each extra source file at most once.
Bump to version 4.0
Bump to 4.1-dev.