Add boxtype.
Merge pull request #1 from xianfengwang/master

Add boxtype.