Regard print as a function.