Fix database extensions.