Added a couple functions.