move type to config so OAI handler can see it