Removes functions and constants that are not used in the contracts package. Also removes export from interfaces that are not being imported.