Figured out how to access the sum function in the List companion object