Be a little bit more flexible on parameter for Table::delete, allow instances of stdClass