core: Support setting z_sid via qs, dispatch args and custom methods