Added validation to distributions