Fix this (Use Base64; this was originally copied from the wrong implementation, hence the error). Still doesn't work, unfortunately.