remove all invoke methods.