Fixed and tested model extractor for examplev2.