Remove EXPORT_API from internal APIs