Fix functions file.