Start to implement bootstrapping.

See #111.