Merge "Adding functions with common code for superblock decoding." into experimental