Since we need it at several places (next use case will be step xsDeploy) we should have a helper for that.