Now returns nil if length <= 0.