Fixed segfault and implemented SC_referenceByteSequence
Overwritting bad master with hotfix
Merge branch 'master' into hotfix