Wrapped the API with a precautionary 'extern'.