Refactor extremely long line.

Break long line up into multiple lines for easier comprehension.