Modified for deprecated function.
Merge branch 'release/0.1.2'