Substrate's source is used instead of library.