Added support for providing source by the host