Finished implementing the 'mutate' functionality.