Refine the code.
Merge branch 'master' of https://github.com/clockfly/nativetask