Adds support for supplying SP init doc as byte array