Make opt-parent shared across different uses.
Make require/typed check its input more thoroughly.

Closes PR 13962.
Remove lfilters and make true/false-filter have a - prefix.