Stubs for Mac Learning; add base64 encoding