Remove arguments from functions and commands