safer imports of non-core dependencies