Removed unnecessary return from arrayify method