New calling convention. Got rid of exceptions for flow.