Fix function notation.
Merge branch `rewrite` into `master`.