Added support for old style constructor

Fixes #139