Expose and document readDeployments function