Remove unneeded type specification