Combine functions into shunt object with methods