Fixing bug where output properties weren't properly collected.