make Config object available to validators