[TASK] Clean up remove() array function.