Docs for the defineOptions function.