PseudoArrays using interfaces and traits