Added <requires distribution> support