Added more functions.