Fixes #61. Refactor implementation of insert