Added support for custom validation for unknown messages