 //  Copyright © 2016 Swinject Contributors. All rights reserved.
 //
 
-extension SwinjectStoryboard {
+internal extension SwinjectStoryboard {
 
     static func pushInstantiatingStoryboard(_ storyboard: SwinjectStoryboard) {
         storyboardStack.append(storyboard)

        return storyboardStack.last
    }

    @objc class public func createReferenced(name: String, bundle storyboardBundleOrNil: Bundle?) -> SwinjectStoryboard {
        if let container = referencingStoryboard?.container.value {
            return create(name: name, bundle: storyboardBundleOrNil, container: container)
        } else {

        return storyboardStack.popLast()
    }

    @objc class var isCreatingStoryboardReference: Bool {
        return referencingStoryboard != nil
    }

