Add contains() and matches() to Validation class