Fix undefined variables in header.