Remove extraneous variables