fix keyword-invoke emission
remove useless methods