Add constructors support

Implements issue #19