Replace Array utility functions with own versions