Fix function name.
Add documentation for canonical request construction.