Clean up fake error handling.
Add some doc comments.
Move a private function below the public ones.
Clarify the content place-holders.