Remove old code.
Slight optimization for isArray check.