Workaround for arguments that can not be serialized