Externalize validation