Fixed header search ordering.
Added code generation builtins.