Modified method data handling and fix #57
Merge branch 'master' of https://github.com/chaizhenhua/rice