Partial support for constructors

Fixes #1704

Tests semi dependent on #1711