Use __construct in table
Merge pull request #8 from wilsonge/patch-1

Use __construct in table