moved getPdoType() to Schema.