`makeExtension` now correctly extracts the config