Implemented the validation methods of the attributes.
Used abstract method instead of a delegate.