Hyphenate compound modifier. 

It's a single adjective: the compound word "two-way" (as opposed to two adjectives: "two" and "way").
Merge pull request #3351 from janaspage/patch-2

Hyphenate compound modifier.