Clearing the SIM memory and reducing GSM library size

Hi, I have two questions re the GSM library:

  1. If I understand it correctly, sms.flush; clears the modem memory but not the SIM. How do I/do I need to clear the SIM memory as well?

  2. The GSM library requires a lot of flash, but I only want to send sms. Is it possible/would it help to reduce the GSM library functionality to conserve memory?

Thanks for any advice.