Add in delete method. Minor improvement to logging.