[Issue 1261] - constructor passed to scope is threated as a property
Merge pull request #1319 from michalbe/issue-1261-constructors-are-not-methods

[Issue 1261] - constructor passed to the scope should be threated as a property