adds methods for array manipulation to Toby_Session