Restore validation_state parameter

mistakenly removed in a8b2267c0b8b7bfe1047f6301d86fc6a24add9ab