Add options for docs, tests and examples.