Removing the GenericArray as it was not needed. My mistake, which caused the overcomplication of adding that object, was assuming initially that Scala generics used the same syntax as Java/C# using the character 'T'.
Adding some comments.