Remove the toArray() method from the Index interface - can use objectsList().toArray() when needed.