`primaryKey` now returns an array. I need to remove the extra `(array)` casts when dealing with the primary key