Added remove methods to DynamicArray