Updated the documentation to match CDD version 2.
Added custom validations.