Added a new function, getBinaryResourceAsBase64String().