Updated some functions.