Fix unused parameter, missing initialization.