Feature #907 : adding common classes in order to handle validation of contributions.