Add support for parsing deployments

are you sure this method is fine? you have setSource and source method which are doing the same thing ...