makes the twitter and catalyst packages optional