Added virtual destructors to the AMBeamline*API classes.