             let object = ["foo", "bar"]
             var encoder = CerealEncoder()
             try encoder.encode(object, forKey: rootKey)
-            let subject: [String] = try CerealDecoder.rootItemsWithData(data: encoder.toData())
+            let subject: [String] = try CerealDecoder.rootItems(with: encoder.toData())
             XCTAssertEqual(subject, object)
         } catch let error {
             XCTFail("Encoding failed due to error: \(error)")

            let object = TestCerealType(foo: "test")
            var encoder = CerealEncoder()
            try encoder.encode(object, forKey: rootKey)
            let subject: TestCerealType = try CerealDecoder.rootCerealItemWithData(data: encoder.toData())
            XCTAssertEqual(subject, object)
        } catch let error {
            XCTFail("Encoding failed due to error: \(error)")

            let object = [["Foo": 1], ["Bar": 2]]
            var encoder = CerealEncoder()
            try encoder.encode(object, forKey: rootKey)
            let subject: [[String: Int]] = try CerealDecoder.rootItems(with: encoder.toData())
            XCTAssertEqual(subject[0], object[0])
            XCTAssertEqual(subject[1], object[1])
        } catch let error {
