refactor StepFunction and Transformer to support FunctionType
added Beta marker