Added support for options when defining transforms