Allow generator to define actions.