Implement Acceptor.
Merge branch `rewrite` into `master`.