Attempt at fixing pointer code generation.