Removing unneeded type genericization after interface introduction