Removed hardcoded schema info and introduced discovering the schema from
the Result class.