Switch to functions.