Added "Functions" code.