Fix core extensions

Fix the extension API compatibility check and remove non-core extensions from core packages.