Cleaning up the MockPlugin