Return this instance from method returning void

Fixes http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-2334