wip: Completed implementation of inserts and deletes.