python2.6 compatibility
move schema-getting to helpers