Replaced Array#last() with the more powerful get() function.