msi: Remove some unused functions.