Wrote the vector record / extract classes.