Added in more functions.