Added a couple cloud code functions.