Fixed bug with generated headers.