Update TerminalTransformer for new FML package. Closes #535