Use 'inplace. Fixes #1.