Removed duplication from the ArrayLoader