Add optional permitted parameters.

Improve documentation.