Improve Hash foreach macros