Added clear methods to LocalExtrema and OrderQueue classes.