base: clean out Python stubs to retarget for Ampify.