Fix functions declaration.