For middleman's Issue #1145