Improved interface for sparse array