Add constructors support
Fix checkstyle error
Fix doc
Merge pull request #20 from lightglitch/release-3.1

Add constructors support