Added the ability to change the byteArrayPersistencyManager