Add friendlier constructor
Merge pull request #1232 from andrerod/dev

Add friendlier constructor