Remove more unneeded declarations, reducing the binary size.