Build typed array class