Removed friend classes of Array, ConstantSerializers is converted to namespace from class