Finish adapting source.hpp.