Added spec for generic array types