Added all functions.