Fix extensions.