Generalize d-p to work with any label provided by d-static.