Ignore the "main" object if it's marked inaccessible.

Support "yes" or "no" for boolean values.