WIP: Schema Mining. Requires type metadata and testing.