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

Fixes #1261.