Change driver API to reduce reflection requirements.