Make OAI's implementation become generic and overridable for custom handlers.