Add post_validate method to Config.