Ensure extensions are loaded before processing keys