Fix unreferenced variable in documentation

Use "message" as a variable more often to make things clearer.