Added in parsing functinoality.