Added the ability to get historical prices.