Separated portions of the functions file.