workflows: Fixed a few __init__ signatures.
Workflow: Added an assert to check type of shell param in __init__()