I was thinking something like `base64_encode(json_encode(array('SetWidth', 100)))`. Using JSON makes it a bit shorter than serialize.