Small refactor in Base64