Merge pull request #1720 from yebblies/globalcopypaste

Copy-paste error
Merge pull request #1719 from yebblies/unimpprop

Remove unimplemented method
Merge pull request #1717 from yebblies/ddocconst

ddoc strings const correct
Merge pull request #1715 from yebblies/removeenv

Remove unused struct 'Environment'
Merge pull request #1718 from yebblies/takeaddress

Take address explicitly
Issue 6578 - Wrong type deduction for NewExp and __ctor with struct

Add the constructor's modifiers to the result type, instead of replacing them.