cfg and aspectkw are legacy