Various convenience methods operating on arrays