Document API: Mathematics subsystem and parallelization of the
DocumentExample.