Committing some minor changes to smoresModule so I can work on mac.