Functionality for passing arguments to actions