Unify ScriptInput and ScriptHashInput types