Add support for source spec for deployment