Several parser functions are now local functions (for optimization reasons)