A mix of new features, optimizations, and documentation updates.

Please take a look at these commits.