Added functions file.