Fix exception when importing.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Avoid making repeated calls to schema().

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>