ensure schema key is set. Fixes #83