Getting all variables in scope in CoreM