Added FFXI functions and added function slicing