             }
             
             it("should pass metadata to the builder") {
-                var value: FakeMeta? = nil
+                var value: ComponentMeta? = nil
                 let builder: Component.WrapperBuilder = { (_, meta) in
-                    value = meta as? FakeMeta
+                    value = meta
                     return UIViewController()
                 }
                 
                 _ =  Component.wrapper(builder: builder,
                                        child: randComponent(),
-                                       meta: FakeMeta("meta")).viewController()
+                                       meta: ["foo": "bar"]).viewController()
                 
-                expect(value) == FakeMeta("meta")
+                expect(value as? DictMeta) == ["foo": "bar"]
             }
             
             it("should have the correct metadata") {
                 let component =  Component.wrapper(builder: { _ in UIViewController() },
                                        child: randComponent(),
-                                       meta: FakeMeta("meta"))
+                                       meta: ["foo": "bar"])
                 
-                expect(component.meta as? FakeMeta) == FakeMeta("meta")
+                expect(component.meta as? DictMeta) == ["foo": "bar"]
             }
         }
         

private func randComponent() -> Component {
    return  Component.view(builder: { _ in UIViewController() }, meta: nil)
}

private struct FakeMeta: ComponentMeta, Equatable {
    let string: String

    init(_ string: String) {
        self.string = string
    }
    
    static func == (lhs: FakeMeta, rhs: FakeMeta) -> Bool {
        return lhs.string == rhs.string
    }
}

    
    override func spec() {
        
        typealias DictMeta = Dictionary<String, String>
        
        describe("View component") {
            it("should build a viewController") {
                let component = Component.view(builder: { _ in UIViewController() }, meta: nil)
