Add top-level and down-level function expression in grammar.