Add documentation about all this.