Is `LastInsertId` an object? If yes, then use FQCN.
Otherwise, this needs update