Include index as an extra field for every data object.
Adapt Mark to using #attribute_post_processing.
Custom error is not needed at the moment.
Check types for group mark.
Implement minimal tests for Mark.