Replace validator with callback to check each custom embedding