LoadSession now takes methods in two ways: 1. user can pass in a method, 2. user can pass in an anonymous class that implements the invokeable interface.