make some dependencies optional to decrease startup-time