Add schemas code, second attempt.

Fair enough.