Implemented Config.foreach