Using a computed property macro in the base validator.

I made the changes according to the review in the PR #73.