Add schemas code, second attempt.

Nothing to see, move along -- the wibble police.