Added abstract custom validator