Add schemas code, second attempt.

Denied. I don't want to think about order of evaluation for boolean operators.