Defines slsh functions as static instead of declaring them locally